home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 23 / AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso / PublicDomain / Anwendungen / MicroDot-II-13 / Install_MicroDot-II < prev    next >
Text File  |  1999-11-06  |  31KB  |  715 lines

  1. ;********************************************************************************
  2. ;      _   _   __                       ____           __          ______ ______
  3. ;     / \_/ \ /_/                      / __ \        _/ /_        /_  __//_  __/
  4. ;    / \__/ /__   ______ _____ ______ / / / /______ /  __/         / /    / /
  5. ;   / /  / // /  / ____// .__// __  // / / // __  / / /  ______   / /    / /
  6. ;  / /  / // /_ / /___ / /   / /_/ // /_/ // /_/ / / /_ /_____/__/ /_ __/ /_
  7. ; /_/  /_//___//_____//_/   /_____//_____//_____/ /___/       /_____//_____/
  8. ;                                                                      
  9. ; $VER: MD2_Installer 0.28pizza (24-January-1998) 
  10. ; MicroDot-I ©1993, 1994, 1995, 1996, 1997, 1998, 1999 by Oliver Wagner
  11. ; MicroDot-II Installer by Robert C. Reiswig ©1998, 1999 
  12. ;
  13. ; If you wish to use any part of this installer you must ask. May not be 
  14. ; integrated/placed into any other package. You may NOT change this in an way!
  15. ; Changes, suggestions or problems: md2@vgr.com or rob@vapor.com
  16. ;********************************************************************************
  17.  
  18. ;*** System Stuff ***
  19. (set cpu (database "cpu"))  (set vblank (database "vblank"))
  20. (set graphmem (database "graphics-mem")) (set totmem (database "total-mem"))
  21. (set osver (/ (getversion "LIBS:version.library") 65536))
  22. (if (= vblank "60") ((set blank "NTSC")) ((set blank "PAL")))
  23. (set fastmem (- totmem graphmem))
  24.  
  25. (if (= osver 37) (set workbench "2.0")) (if (= osver 38) (set workbench "2.1"))
  26. (if (= osver 39) (set workbench "3.0")) (if (= osver 40) (set workbench "3.1"))
  27. (if (= osver 41) (set workbench "4.0")) 
  28.  
  29. (set cpu (database "cpu"))
  30. (if (= cpu 68000) (set #cpu 0)) (if (= cpu 68010) (set #cpu 1))
  31. (if (= cpu 68020) (set #cpu 2)) (if (= cpu 68030) (set #cpu 3))
  32. (if (= cpu 68040) (set #cpu 4)) 
  33. (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu 5) )
  34.  
  35. (set vernum1 (getversion "MicroDot"))
  36. (set ver1 (/ vernum1 65536)) (set rev1 (- vernum1 (* ver1 65536) ) )
  37. (set MicroDotver (cat ver1 "." rev1))
  38.  
  39. (if (> (exists ("env:Language")) 0) (set lanfound (getenv "Language")) )
  40. (set lan 0)
  41.  
  42. (if (= "english" lanfound) (set lan 0))  (if (= "deutsch"  lanfound) (set lan 1))
  43. (if (= "français" lanfound) (set lan 2)) (if (= "Español" lanfound) (set lan 3))
  44. (if (= "Svenska" lanfound) (set lan 4))  (if (= "nederlands" lanfound) (set lan 5))
  45. (if (= "italiano" lanfound) (set lan 6)) (if (= "norsk"  lanfound) (set lan 7))
  46. (if (= "português" lanfound) (set lan 8))
  47.  
  48. (set #English    "English")  (set #Deutsch    "Deutsch")
  49. (set #Français   "Français") (set #Español    "Español")
  50. (set #Svenska    "Svenska")  (set #Nederlands "Nederlands")
  51. (set #Italiano   "Italiano") (set #Norsk      "Norsk")    
  52. (set #Português  "Português")
  53.  
  54. (set mfound 0) (set newicon1 1) 
  55. (set keeper 1) (set firsttime 0)
  56.  
  57. ;********************************************************************
  58. ; English Strings
  59. ;********************************************************************
  60. (set #about (cat "\n\nWelcome to MicroDot-II " MicroDotver "\n\nCopyright © 1993-1999 by\n\nOliver Wagner\n<owagner@vapor.com>\n\nhttp://www.vapor.com/\nftp://ftp.vapor.com/pub/microdot-2/") )
  61. (set #nomui (cat "\n\nMicroDot uses Magic User Interface (MUI).\n\nThe installer has not found MUI: to be assigned, "
  62.                  "therefore you MicroDot will not work correctly.  You will need to install "
  63.                  "MUI before running MicroDot."
  64.             )
  65. )
  66. (set #whereMicroDot "Where do you wish to install MicroDot2. A directory called 'MicroDot2' will be created if one is not there. If a copy of MicroDot2 is found it will be backed up.")
  67. (set muiver "No Version Installed")
  68. (set #newermui "\nMicroDot needs version 3.8 or higher of MUI installed to work correctly.\n\nNow would be a good time to Upgrade!\n\nYou can find mui38usr.lha on Aminet in util/libs\n\nIt looks like you have: \n\n")
  69. (set #need-os "\n\nThe 68020 version of MicroDot needs version 3.0 or higher of the Amiga OS installed to work correctly.\n\n It looks like you have: \n\n")
  70. (set #000used "\n\nThe 68000 version will be installed.") 
  71. (set #filethere1 "\n\nThe installer has found MicroDot version ")
  72. (set #filethere2 " at ")
  73. (set #filethere3 "\n\nThe file will be renamed to ")
  74. (set #filethere4 " and it will then be moved to ")
  75. (set #backuptoXXX "Back-UP to file named 'MicroDot2")
  76. (set #copyover "Copy Over Old Version")
  77. (set #MicroDotfound "\nThe Installer has found a copy of MicroDot2 already installed. What do you want to do?\n")
  78. (set #askcpu "\nWhat version of MicroDot-II would you like to install?\n")
  79. (set #no020found "\n\nThe 68020 Version of MicroDot-II, MicroDot020, was not found in this archive this is why the 68000 version was installed.")
  80. (set #newicon "\nDo you wish to copy over The MicroDot Icon from the archive? If you have any ToolTypes already set you should select no.\n")
  81. (set #nonewicon  "No  - ToolTypes already set.")
  82. (set #yesnewicon "Yes - Copy over Icon.")
  83. (set #pickicon "\nMicroDot has 3 different icons you can use choose from. Which one would you like to use?\n")
  84. (set #nomultiview (cat "The installer could not find multiview or you are running on a 2.x Amiga. "
  85.                        "The MicroDot Installer will let you choose between 3 different icon to use. Their "
  86.                        "names are:\n\n'MicroDot - Default'\n'MicroDot2 - Globe'\n'MicroDot3 - 4 Faces'\n\n"
  87.                        "You can use a picture viewer to look at the '3Icons.iff' to see the choices side-by-side, "
  88.                        "or you can just look in the drawer from where you are installing MicroDot from."
  89.                   )
  90. )
  91. (set #whatcat "Select the MicroDot Language catalog you wish to install.")
  92. (set #wherecat "\nWhere do you wish to install the MicroDot Language Catalog? Default is ")
  93. (set #catnofind "Can not find this catalog in this MicroDot archive. You may need to get the complete archive from the support site.")
  94. (set #whatdocs "\nWhat MicroDot documentation would you like to install?\n")
  95. (set #wheredocs "Where would you like the MicroDot documentation you selected to be installed?")
  96. (set #nofounddocs "\n\nThe Docs that are listed below, from the ones that you selected,  were not found in the MicroDot archive. You may need to get the complete archive from the support site.")
  97.  
  98. (set #oktodelete1 "\nIs it ok to delete the older MicroDot binary so that the MicroDot Directory can be made?\n")
  99. (set #oktodelete2 "\nIs it ok to delete the older _renamed_ MicroDot binary so that the MicroDot Directory can be made?\n")
  100. (set #ifyoulike (cat "\n\nIf you like MicroDot you might want to take a look at AmFTP.  It Includes the following:\n\nHigh speed asynchronous transfers for maximum efficiency, "
  101.                      "Batch download facility, Resume partially received files, FTP-Server Phonebook, Full ADT Support, Full ARexx support, Archie search engine, "
  102.                      "and much more!\n\nAmFTP can be found on Aminet in comm/tcp or\nhttp://www.vapor.com/amftp/"
  103.                 )
  104. )
  105. (set #byebye (cat "\nMicroDot Install Complete!\n\n" ))
  106.  
  107. (set #updatingmuic "\nUpdating the MUI Classes if needed.\n\n(#?.mcc & #?.mcp)")
  108. (set #newermui "\nMicroDot needs version 3.8 or higher of MUI installed to work correctly.\n\nNow would be a good time to Upgrade!\n\nYou can find the new MUI on Aminet in util/libs\n\nIt looks like you have: \n\n")
  109. (set #nompc "\nThe .MCC files for MicroDot can not be installed to 'mui:libs/mui'")
  110.  
  111. (set #insregstuff " Install Register information")
  112. (set #insregstuffno " Don't Install Register information")
  113. (set #installerreg "\nThe installer did not find an MicroDot key in the usual places. Do you wish to install the Register information?\n") 
  114.  
  115. (set #wheremp "\nWhere do you wish to install the MimePrefs program?\n")
  116.  
  117. (set #updatedlibs "\nInstall/Update the Vapor Libraries?\n* = Must be installed to work correctly\n(Click 'Help' for more info on the libs.)\n")
  118. (set #lib1 " Update library")
  119. (set #lib2 " Toolkit library (*)")
  120. (set #lib3 " Registration library (*)")
  121. (set #libhelp1 "vapor_update.library:\nIf installed every Vapor app will automagically check for updates by querying the Vapor server via Internet. You will be informed and of